FROM openeuler/openeuler:20.03
LABEL maintainers="youyifeng youyf2@chinatelecom.cn"

RUN yum makecache \
    && yum install -y systemd make python3 python3-requests python3-flask \
            python3-sqlalchemy python3-pandas python3-dbus python3-defusedxml \
    && pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple flask_sqlalchemy \
    && ln -svf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && rm -f /etc/profile.d/system-info.sh

COPY . /data/
RUN ls -alh /data
